package com.caiju.health.mapper;

import com.caiju.health.pojo.CheckGroup;
import com.caiju.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface ISetMealMapper {
    List<Setmeal> findCondition(@Param("queryString") String queryString);


    void updateSetmealByStatus(Integer id);

    void addSetmeal(Setmeal setmeal);

    void addSetmealAndCheckGroup(HashMap<String, Object> hashMap);

    Setmeal findSetmealById(Integer id);

    Integer[] findCheckGroupIdsById(Integer id);

    void updateSetmeal(Setmeal setmeal);

    void deleteSetmealIdsById(Integer id);

    void addSetmeal_CheckGroupbyId(HashMap<String, Object> hashMap);
}
